package com.nineclock.api.sign;

import com.nineclock.attendance.dto.AttendPunchDTO;
import com.nineclock.common.entity.PageResult;
import com.nineclock.common.entity.Result;
import com.nineclock.sign.dto.SignAllUserDTO;
import com.nineclock.sign.dto.SignPCListDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.io.IOException;
import java.util.List;

@Api(value = "签到模块API", tags = "签到服务", description = "签到")
public interface SignControllerApi {

    @ApiOperation(value = "导出签到列表")
    public void export(String startTime, String endTime) throws IOException;

    //PC端-查询签到记录列表
    @ApiOperation(value = "查询签到列表")
    public Result<PageResult<SignPCListDTO>> querySignList(String startTime, String endTime, Integer page, Integer pageSize);

    //手机签到列表
    @ApiOperation(value = "手机签到列表")
    public Result<List<SignAllUserDTO>> listSignAllUser(String dateStr);


}
